<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<%@include file="/view/main/stylesheet.jsp"%>
<link rel="stylesheet" type="text/css" href="${baseurl}/styles/frameword/css/list.css" />
<script src="${baseurl}/styles/frameword/js/list.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript">
	var typejson = <wb:html wbCode="pro-extract-type" type="json" name="" />
	var statejson = <wb:html wbCode="pro-extract-state" type="json" name="" />
	$(function() {
		var url = "/pro-user-extract/cash/";
		var columns = [ {
			field : 'addTime',
			title : '申请时间',
			formatter : function(value, row, index) {
				return format(new Date(value), 'yyyy-MM-dd hh:mm:ss');
			}
		}, {
			field : 'processingTime',
			title : '处理时间',
			formatter : function(value, row, index) {
				return format(new Date(value), 'yyyy-MM-dd hh:mm:ss');
			}
		}, {
			field : 'amount',
			title : '金额',
			formatter : function(value, row, index) {
				return (value / 100).toFixed(2);
			}
		}, {
			field : 'type',
			title : '渠道',
			formatter : function(value, row, index) {
				return typejson[value];
			}
		}, {
			field : 'account',
			title : '账户'
		}, {
			field : 'state',
			title : '状态',
			formatter : function(value, row, index) {
				return statejson[value];
			}
		} ];
		initListDefault(url, columns)
	})
</script>
</head>
<body class="container-fluid">
	<form class="bs-example bs-example-form" role="form" id="form1">
		<table class="table noline">
			<tbody>
				<tr>
					<td>
						<div class="input-group">
							<span class="input-group-addon explain">状态</span> <select name="state" class="form-control">
								<option value="complete">完成</option>
								<option value="refuse">拒绝</option>
							</select>
						</div>
					</td>
					<td style="text-align: left;">
						<div class="btn-group">
							<button type="button" class="btn btn-info" id="search-button">
								<i class="glyphicon glyphicon-search"></i> 搜索
							</button>
						</div>
					</td>
				</tr>
			</tbody>
		</table>
	</form>
	<table id="table1">
	</table>
</body>

</html>